﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PreeRegisterModel
{
    public class WorkDetailRequestModel
    {
        /// <summary>
        /// 排班日期
        /// </summary>
        public string workdate { get; set; }
    }

    public class WorkDetailResponseModel
    {
        /// <summary>
        /// 医院id
        /// </summary>
        public string hospid { get; set; }

        /// <summary>
        /// 接入类型：0序号预约,1分时预约；
        /// </summary>
        public string atype { get; set; }

        /// <summary>
        /// 科室
        /// </summary>
        public List<WorkDetaildept> depts { get; set; }
    }

    public class WorkDetaildept
    {
        /// <summary>
        /// 科室Id
        /// </summary>
        public string deptid { get; set; }

        /// <summary>
        /// 排班ID集合
        /// </summary>
        public List<WorkDetailWork> works { get; set; }
    }

    public class WorkDetailWork
    {
        /// <summary>
        /// 排班ID
        /// </summary>
        public string wid { get; set; }

        /// <summary>
        /// 号源ID集合
        /// </summary>
        public List<WorkDetailWorkno> nos { get; set; }
    }

    public class WorkDetailWorkno
    {
        /// <summary>
        /// 号源ID
        /// </summary>
        public string resourceid { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string state { get; set; }
    }
}
